package utils;

import org.springframework.jdbc.datasource.SimpleDriverDataSource;

import java.text.SimpleDateFormat;
import java.util.Date;

public class MyLog {
    public void addLog(){
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        System.out.println("添加记录日志： currentTime=："+sdf.format(new Date()));
    }
    public void deleteLog(){
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        System.out.println("删除日志记录： currentTime=:"+sdf.format(new Date()));
    }
}
